package com.dragon.mmochat.model.activity;

import com.dragon.mmochat.model.enumType.MmochatMoneyType;

public class MmochatFastLotteryAwardTitle implements
		Comparable<MmochatFastLotteryAwardTitle> {
	private MmochatMoneyType moneyType;// 礼物类型
	private int moneyAward = 0; // 礼物面额
	private int totalNum = 0;// 礼物总量
	private int costNum = 0; // 领取数量

	public MmochatMoneyType getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(MmochatMoneyType moneyType) {
		this.moneyType = moneyType;
	}

	public int getMoneyAward() {
		return moneyAward;
	}

	public void setMoneyAward(int moneyAward) {
		this.moneyAward = moneyAward;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getCostNum() {
		return costNum;
	}

	public void setCostNum(int costNum) {
		this.costNum = costNum;
	}

	public void addCostNum(int add) {
		costNum += add;
	}

	@Override
	public int compareTo(MmochatFastLotteryAwardTitle o) {
		return o.getMoneyAward() - moneyAward;
	}

}
